<template>
    <!-- 引导页 -->
    <div class="guide">
        <img src="./引导.png" alt="">
    </div>
</template>

<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { useRouter } from 'vue-router';
const router = useRouter();

onMounted(() => {
    setTimeout(() => {
        router.push('/home')
    }, 3000)
})
</script>

<style lang="scss">
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.guide {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    img {
        width: 100%;
        height: 100%;
    }
}
</style>